package com.gareve.twoSides.models;

import com.badlogic.gdx.math.Vector2;

public class LivingGameObject extends GameObject {
	public boolean isAlive;
	public Vector2 speed;
	private float life;
	
	public LivingGameObject(float x,float y,float width,float height,Vector2 speed){
		super(x,y,width,height);
		isAlive = true;
		life = 100f;
		this.speed = speed;
	}

	public void kill(){
		isAlive = false;
	}
}
